package com.oe.user.service;

import com.oe.common.resp.LdmResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.math.BigDecimal;

@FeignClient("ldm-service-code")
public interface LdmCodeClient {

    @RequestMapping(value = "/code/check/{email}/{code}")
    public LdmResponse checkCode(@PathVariable("email") String email, @PathVariable("code") String code);
}
